<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Open Lovable - AI驱动的网站克隆工具</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
        }
        .serif-font {
            font-family: 'Noto Serif SC', serif;
        }
        .gradient-text {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .code-block {
            background: #1a1a2e;
            color: #eee;
            border-radius: 8px;
            overflow-x: auto;
        }
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            margin-top: -0.2rem;
            color: #667eea;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-24 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <div class="mb-8 float-animation">
                <i class="fas fa-code text-6xl opacity-80"></i>
            </div>
            <h1 class="text-5xl md:text-6xl font-bold mb-6 serif-font">Open Lovable</h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90 max-w-3xl mx-auto">
                通过 AI 驱动的聊天界面，将任何网站快速克隆为可编辑的现代 React 应用
            </p>
            <div class="flex flex-wrap justify-center gap-4 mb-12">
                <a href="https://github.com/mendableai/open-lovable" target="_blank" class="bg-white text-purple-700 px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition-colors">
                    <i class="fab fa-github mr-2"></i>GitHub (13.2k+ ⭐)
                </a>
                <button class="bg-purple-800 bg-opacity-50 text-white px-8 py-3 rounded-full font-semibold hover:bg-opacity-70 transition-all">
                    <i class="fas fa-rocket mr-2"></i>快速开始
                </button>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-7xl mx-auto px-6 py-16">
        <!-- Introduction -->
        <section class="mb-20">
            <div class="bg-white rounded-2xl shadow-lg p-10 card-hover">
                <p class="text-lg leading-relaxed text-gray-700">
                    <span class="drop-cap serif-font">O</span>pen Lovable 是一个开源工具，通过 AI 驱动的聊天界面，帮助用户将任何网站快速克隆为可编辑的现代 React 应用。它面向前端开发者、初创团队和内容创作者，旨在简化从灵感网站到功能性 React 项目的开发流程。基于 Next.js 和 TypeScript，结合 Firecrawl 网页抓取和 E2B 沙盒技术，Open Lovable 提供高效的网站克隆和定制体验。
                </p>
            </div>
        </section>

        <!-- Problem Section -->
        <section class="mb-20">
            <h2 class="text-4xl font-bold mb-10 text-center gradient-text">它能解决什么问题</h2>
            <div class="grid md:grid-cols-2 gap-8">
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-clock"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">耗时的手动转换</h3>
                    <p class="text-gray-600">将现有网站转化为 React 应用通常需要手动分析结构、提取样式、编写组件代码，往往耗费数小时甚至数天。</p>
                </div>
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-lock"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">代码所有权受限</h3>
                    <p class="text-gray-600">现有工具可能绑定到付费平台，生成代码质量参差不齐，导致代码所有权受限，难以自由修改和部署。</p>
                </div>
            </div>
        </section>

        <!-- Core Features -->
        <section class="mb-20">
            <h2 class="text-4xl font-bold mb-10 text-center gradient-text">核心功能概述</h2>
            <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
                <div class="bg-white rounded-xl p-6 shadow-md card-hover text-center">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-robot"></i>
                    </div>
                    <h3 class="text-lg font-semibold mb-2">AI 驱动克隆</h3>
                    <p class="text-gray-600 text-sm">通过 Firecrawl 抓取网站结构，生成对应的 React 组件</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-md card-hover text-center">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-comments"></i>
                    </div>
                    <h3 class="text-lg font-semibold mb-2">自然语言定制</h3>
                    <p class="text-gray-600 text-sm">用聊天界面和自然语言指令修改代码</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-md card-hover text-center">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-layer-group"></i>
                    </div>
                    <h3 class="text-lg font-semibold mb-2">多模型支持</h3>
                    <p class="text-gray-600 text-sm">兼容 OpenAI、Anthropic、Groq 等多种语言模型</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-md card-hover text-center">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-download"></i>
                    </div>
                    <h3 class="text-lg font-semibold mb-2">全栈项目导出</h3>
                    <p class="text-gray-600 text-sm">生成完整的 Next.js 项目，可直接部署</p>
                </div>
            </div>
        </section>

        <!-- Workflow Visualization -->
        <section class="mb-20">
            <h2 class="text-4xl font-bold mb-10 text-center gradient-text">工作流程</h2>
            <div class="bg-white rounded-2xl shadow-lg p-10">
                <div class="mermaid">
                    graph LR
                        A[输入目标网站 URL] --> B[Firecrawl 抓取网站]
                        B --> C[AI 分析结构和样式]
                        C --> D[生成 React 组件]
                        D --> E[自然语言定制]
                        E --> F[导出 Next.js 项目]
                        style A fill:#667eea,stroke:#fff,color:#fff
                        style F fill:#764ba2,stroke:#fff,color:#fff
                </div>
            </div>
        </section>

        <!-- Use Cases -->
        <section class="mb-20">
            <h2 class="text-4xl font-bold mb-10 text-center gradient-text">使用场景</h2>
            <div class="space-y-6">
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="flex items-start">
                        <div class="text-3xl mr-6 feature-icon flex-shrink-0">
                            <i class="fas fa-lightbulb"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-3">快速原型开发</h3>
                            <p class="text-gray-600">初创公司需基于现有网站（如 Airbnb）快速构建类似界面的原型。用户输入目标 URL，Open Lovable 抓取结构并生成 React 应用，开发者再通过聊天界面添加自定义功能。</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="flex items-start">
                        <div class="text-3xl mr-6 feature-icon flex-shrink-0">
                            <i class="fas fa-graduation-cap"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-3">学习与教学</h3>
                            <p class="text-gray-600">前端开发初学者希望重现知名网站的布局（如 Notion）。通过克隆并生成代码，他们可以研究生成的 React 组件，学习现代前端开发实践。</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="flex items-start">
                        <div class="text-3xl mr-6 feature-icon flex-shrink-0">
                            <i class="fas fa-sync-alt"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-3">内容重塑</h3>
                            <p class="text-gray-600">营销团队需将静态博客网站转为动态 React 应用。Open Lovable 抓取博客结构，生成 Next.js 项目，用户可通过自然语言指令添加交互功能。</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Advantages -->
        <section class="mb-20">
            <h2 class="text-4xl font-bold mb-10 text-center gradient-text">优势与特色</h2>
            <div class="grid md:grid-cols-2 gap-8">
                <div class="space-y-4">
                    <div class="bg-purple-50 rounded-lg p-6">
                        <h3 class="text-lg font-semibold mb-2 text-purple-700">
                            <i class="fas fa-unlock mr-2"></i>开源与全权控制
                        </h3>
                        <p class="text-gray-700">采用 MIT 许可证，用户拥有生成的代码完整所有权，可自由修改和部署。</p>
                    </div>
                    <div class="bg-purple-50 rounded-lg p-6">
                        <h3 class="text-lg font-semibold mb-2 text-purple-700">
                            <i class="fas fa-code-branch mr-2"></i>现代化技术栈
                        </h3>
                        <p class="text-gray-700">基于 Next.js、TypeScript 和 Tailwind CSS，生成的代码符合生产级标准。</p>
                    </div>
                </div>
                <div class="space-y-4">
                    <div class="bg-purple-50 rounded-lg p-6">
                        <h3 class="text-lg font-semibold mb-2 text-purple-700">
                            <i class="fas fa-puzzle-piece mr-2"></i>灵活的 AI 集成
                        </h3>
                        <p class="text-gray-700">支持多种语言模型，用户可根据预算和需求选择合适的模型。</p>
                    </div>
                    <div class="bg-purple-50 rounded-lg